<?php

namespace pam\Factory;

/**
 * Description of AgeingIndicatorsServiceFactory
 *
 * @author Robert Bwana <robert.bwana@ssra.go.tz>
 */
use pam\Service\AgeingIndicatorsService;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;

class AgeingIndicatorsServiceFactory implements FactoryInterface {

    public function createService(ServiceLocatorInterface $serviceLocator) {
        return new AgeingIndicatorsService($serviceLocator->get('pam\Mapper\AgeingPolicyIndicatorsDataAccess'));
    }

}
